package com.yh.Bean;

import java.util.Date;

public class Orders {
private int o_id;
private int u_id;
private int o_num;
private Date o_time;
private String address;
private double money;
private String state;
private String massage;
public Orders(int o_id, int u_id, int o_num, Date o_time, String address,
		double money, String state, String massage) {
	super();
	this.o_id = o_id;
	this.u_id = u_id;
	this.o_num = o_num;
	this.o_time = o_time;
	this.address = address;
	this.money = money;
	this.state = state;
	this.massage = massage;
}
public Orders() {
	super();
	// TODO Auto-generated constructor stub
}
public int getO_id() {
	return o_id;
}
public void setO_id(int o_id) {
	this.o_id = o_id;
}
public int getU_id() {
	return u_id;
}
public void setU_id(int u_id) {
	this.u_id = u_id;
}
public int getO_num() {
	return o_num;
}
public void setO_num(int o_num) {
	this.o_num = o_num;
}
public Date getO_time() {
	return o_time;
}
public void setO_time(Date o_time) {
	this.o_time = o_time;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public double getMoney() {
	return money;
}
public void setMoney(double money) {
	this.money = money;
}
public String getState() {
	return state;
}
public void setState(String state) {
	this.state = state;
}
public String getMassage() {
	return massage;
}
public void setMassage(String massage) {
	this.massage = massage;
}
@Override
public String toString() {
	return "Orders [o_id=" + o_id + ", u_id=" + u_id + ", o_num=" + o_num
			+ ", o_time=" + o_time + ", address=" + address + ", money="
			+ money + ", state=" + state + ", massage=" + massage + "]";
}

}
